/** @format */

import { defineStore } from "pinia";
import { getStoreApi } from "@/service/api";

export const useStores = defineStore("stores", {
  state: () => {
    return {
      stores: {},
    };
  },
  actions: {
    getStores: async () => {
      const { data } = await getStoreApi();
      console.log(data);
    },
  },
});
